﻿using System;

namespace NetCoreCMS.Models
{
    /// <summary>
    /// 支付方式
    /// </summary>    
    public partial class Payment
    {
        public int id { get; set; }
        /// <summary>
        /// 支付名称
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 显示图片
        /// </summary>
        public string img_url { get; set; }
        /// <summary>
        /// 备注说明
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 支付类型1线上2线下
        /// </summary>
        public int type { get; set; } = 1;
        /// <summary>
        /// 手续费类型1百分比2固定金额
        /// </summary>
        public int poundage_type { get; set; } = 1;
        /// <summary>
        /// 手续费金额
        /// </summary>
        public decimal poundage_amount { get; set; } = 0;
        /// <summary>
        /// API目录名
        /// </summary>
        public string api_path { get; set; }
        /// <summary>
        /// 支付链接页面
        /// </summary>
        public string redirect_url { get; set; }
        /// <summary>
        /// 跳转返回页面
        /// </summary>
        public string return_url { get; set; }
        /// <summary>
        /// 支付通知页面
        /// </summary>
        public string notify_url { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int sort_id { get; set; } = 0;
        /// <summary>
        /// 是否启用0正常1禁用
        /// </summary>
        public int is_lock { get; set; } = 0;
        new DateTime add_time;
    }
}